.loginPage {
  min-height: 100vh;
  display: flex;
  background: #f8fafc;
  overflow: hidden;
}

/* 黑夜模式支持 */
[data-theme="dark"] .loginPage {
  background: var(--bg-primary);
}

.leftPanel {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

/* 黑夜模式下的左侧面板 */
[data-theme="dark"] .leftPanel {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.brandSection {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.logoIcon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

.brandTitle {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brandSubtitle {
  font-size: 18px;
  margin: 0 0 40px 0;
  opacity: 0.9;
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 400px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.featureIcon {
  font-size: 20px;
}


.rightPanel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

/* 黑夜模式下的右侧面板 */
[data-theme="dark"] .rightPanel {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* 移除rightPanel的装饰性伪元素背景 */

.loginWrapper {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  position: relative;
  z-index: 2;
  animation: slideIn 0.3s ease-out;
}

/* 黑夜模式下的登录包装器 */
[data-theme="dark"] .loginWrapper {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.loginWrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 20px;
  pointer-events: none;
}

/* 黑夜模式下的覆盖层 */
[data-theme="dark"] .loginWrapper::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.05) 100%);
}

/* 装饰性元素 */
.decorativeElements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floatingIcon1,
.floatingIcon2,
.floatingIcon3,
.floatingIcon4 {
  position: absolute;
  font-size: 24px;
  opacity: 0.1;
  animation: floatIcon 6s ease-in-out infinite;
}

.floatingIcon1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floatingIcon2 {
  top: 60%;
  right: 15%;
  animation-delay: 1.5s;
}

.floatingIcon3 {
  top: 30%;
  right: 20%;
  animation-delay: 3s;
}

.floatingIcon4 {
  bottom: 25%;
  left: 15%;
  animation-delay: 4.5s;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.2;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}


/* 响应式设计 */
@media (max-width: 768px) {
  .loginPage {
    flex-direction: column;
  }
  
  .leftPanel {
    flex: none;
    min-height: 40vh;
    padding: 40px 20px;
  }
  
  .brandTitle {
    font-size: 24px;
  }
  
  .brandSubtitle {
    font-size: 16px;
  }
  
  .features {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
  
  .feature {
    justify-content: center;
  }
  
  .rightPanel {
    flex: none;
    min-height: 60vh;
    padding: 20px;
  }
  
  .loginWrapper {
    padding: 2rem;
    max-width: 100%;
  }
  
  .decorativeElements {
    display: none;
  }
}

@media (max-width: 480px) {
  .leftPanel {
    padding: 30px 15px;
  }
  
  .brandTitle {
    font-size: 20px;
  }
  
  .brandSubtitle {
    font-size: 14px;
  }
  
  .features {
    gap: 8px;
  }
  
  .feature {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .rightPanel {
    padding: 15px;
  }
  
  .loginWrapper {
    padding: 1.5rem;
    border-radius: 12px;
  }
}
